
public class LiftHandler extends Thread {
	private SharedData sd;
	
	
	
	public LiftHandler(SharedData sd)	{
		this.sd=sd;
	}
	
	public void run()	{
		while(true)	{
			moveLift();
		}
		
	}

	private void moveLift() {
		sd.moveLift();
	}
}
